home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / JAVA_ALL / IDE / SUBARTIC / SUB_ARCT / LIB / POINT_IN.JAV < prev    next >
Encoding:
Text File  |  1996-10-04  |  1.0 KB  |  43 lines

  1. package sub_arctic.lib;
  2.  
  3. /** 
  4.  * Small Class to hold x,y information, for example during a drag. 
  5.  * @author Scott Hudson
  6.  */
  7. public class point_info {
  8.   /** X value */
  9.   public int x = 0;
  10.  
  11.   /** Y value */
  12.   public int y = 0;
  13.  
  14.   /** 
  15.    * Full constructor 
  16.    * @param xv x value.
  17.    * @param yv y value.
  18.    */
  19.   public point_info(int xv, int yv)
  20.     {
  21.       x = xv;
  22.       y = yv;
  23.     }
  24. }
  25.  
  26.  
  27. /*=========================== COPYRIGHT NOTICE ===========================
  28.  
  29. This file is part of the subArctic user interface toolkit.
  30.  
  31. Copyright (c) 1996 Scott Hudson and Ian Smith
  32. All rights reserved.
  33.  
  34. The subArctic system is freely available for most uses under the terms
  35. and conditions described in 
  36.   http://www.cc.gatech.edu/gvu/ui/sub_arctic/sub_arctic/doc/usage.html 
  37. and appearing in full in the lib/interactor.java source file.
  38.  
  39. The current release and additional information about this software can be 
  40. found starting at: http://www.cc.gatech.edu/gvu/ui/sub_arctic/
  41.  
  42. ========================================================================*/
  43.